package org.example.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class MomentVo 
{
	@Data
	@NoArgsConstructor
	@AllArgsConstructor
	public static class User
	{
		private String name;
		private String avatar;
	}
	@Data
	@NoArgsConstructor
	@AllArgsConstructor
	public static class Comment
	{
		private String username;
		private  String content;
	}
	private Integer id;
	private User user;
	private String title;//标题
	private String content;//文案
	private List<String> images;//
	private String time;
	private List<String> likes;//点赞的人
	private List<Comment> comments;
	private Boolean isLiked;
}
